<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

// |	资源路由 会生成如下规则方法
// |        | POST      | admin/article                | article.store   | App\Http\Controllers\Admin\ArticleController@store   | web          |
// |        | GET|HEAD  | admin/article                | article.index   | App\Http\Controllers\Admin\ArticleController@index   | web          |
// |        | GET|HEAD  | admin/article/create         | article.create  | App\Http\Controllers\Admin\ArticleController@create  | web          |
// |        | GET|HEAD  | admin/article/{article}      | article.show    | App\Http\Controllers\Admin\ArticleController@show    | web          |
// |        | PUT|PATCH | admin/article/{article}      | article.update  | App\Http\Controllers\Admin\ArticleController@update  | web          |
// |        | DELETE    | admin/article/{article}      | article.destroy | App\Http\Controllers\Admin\ArticleController@destroy | web          |
// |        | GET|HEAD  | admin/article/{article}/edit | article.edit    | App\Http\Controllers\Admin\ArticleController@edit    | web          |

class ArticleController extends CommonController
{
    public function index()
    {
    	echo 'Article Index';
    }

    public function show()
    {
    	echo 'Show Article';
    }
}
